package org.budo.support.lang.util;

import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;

/**
 * @author limingwei
 */
public class ClassLoaderUtil {
    public static Enumeration<URL> getResources(ClassLoader classLoader, String name) {
        try {
            return classLoader.getResources(name);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}